package conf

// 定义数据库基本配置结构体
type DbConfig struct {
	Host      string
	Port      int
	User      string
	Pwd       string
	Database  string
	IsRunning bool
}


// 定义配置
var DbmasterList = []DbConfig {
	{
		Host: "127.0.0.1",
		Port: 3306,
		User: "root",
		Pwd: "123456",
		Database: "lottery",
		IsRunning: true,
	},
}

// 使用配置
var DbMaster = DbmasterList[0]






